﻿using System;

namespace JY.Common.EntityBase
{
    /// <summary>
    /// 可操作聚合根实体基类
    /// </summary>
    [Serializable]
    public abstract class AggregateRootEntity : RootEntity, IOperable
    {
        #region # 构造器
        /// <summary>
        /// 构造器
        /// </summary>
        protected AggregateRootEntity()
        {
        }
        #endregion

        #region # 属性

        #region 创建人账号 —— string CreatorAccount
        /// <summary>
        /// 创建人账号
        /// </summary>
        public string CreatorAccount { get; protected internal set; }
        #endregion

        #region 创建人姓名 —— string CreatorName
        /// <summary>
        /// 创建人姓名
        /// </summary>
        public string CreatorName { get; protected internal set; }
        #endregion

        #region 操作人账号 —— string OperatorAccount
        /// <summary>
        /// 操作人账号
        /// </summary>
        public string OperatorAccount { get; protected internal set; }
        #endregion

        #region 操作人姓名 —— string OperatorName
        /// <summary>
        /// 操作人姓名
        /// </summary>
        public string OperatorName { get; protected internal set; }
        #endregion

        #endregion
    }
}
